<!DOCTYPE html>
<html lang="zh-CN">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>任务记录网站</title>
    <link rel="stylesheet" href="style.css">
</head>
<body>
    <div class="container">
        <header>
            <h1>我的任务清单</h1>
            <form id="task-form">
                <input type="text" id="task-input" placeholder="输入新任务..." required>
                <button type="submit">添加任务</button>
            </form>
        </header>
        
        <main>
            <div id="task-list" class="task-list">
                <!-- 任务将通过JavaScript动态添加 -->
            </div>
        </main>
        
        <footer>
            <p>总任务: <span id="total-tasks">0</span> | 已完成: <span id="completed-tasks">0</span></p>
        </footer>
    </div>
    
    <script src="script.js"></script>
</body>
</html>